$NG.AllReady(function (page, { useAction, useBeforeClick, useValuesChange, useClick, useUpdateRow, subscribe, useUpdateRows }) {
    const mstform = $NG.getCmpApi("p_form_gfbzk_m")
    const dgrid1 = $NG.getCmpApi("")
    const getHeadValue = (str)=>mstform.getItem(str).getValue()
    if (page.oType == 'add' || page.oType == 'edit') {
        setTimeout(() => {
            // 获取编制人手机号
            const userId = mstform.getItem("phid_fill_psn").getValue()
            console.log(`userId`, userId);
            if (!userId) return
            $NG.execServer(`SELECT`,{sql:`SELECT mobileno from fg3_user where phid = '${userId}'`} ,(res) => {
                if (res.count == 0) return
                const datas = JSON.parse(res.data)[0].extendObjects
                mstform.getItem("u_scrlxfs").setValue(datas.mobileno)
            })
        }, 200)
    }
})